#ifndef _SBUS_H
#define _SBUS_H

#include "stm32f10x.h"
#include "stdbool.h"
#include "stdio.h"

extern uint16_t CH[18]; 
void SBUS_Configuration(void);

extern uint8_t USART2_RX_BUF[26];
extern uint8_t rc_flag;

void Sbus_Data_Count(uint8_t *buf);

void usart2_send_char(u8 c);
#endif
